﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using simpleHotel.Business;
using simpleHotel.Data;
using simple.Utilities;

namespace simpleHotel.Web
{
    public partial class TourNotebookDetail : PageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            int id = Int32.Parse(Request.QueryString["tourid"]);
            if (id == null)
            {
                return;
            }

            TourNotebooks tourNotebook = new TourNotebooks();

            if (!IsPostBack)
            {
                dlTournoteBookDetail.DataSource = tourNotebook.getTourNotebooks(id);
                dlTournoteBookDetail.DataBind();
            }
        }
    }
}